<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script src="./axios.js"></script>
<script>
    const baseURL='https://api.it120.cc/conner'
    axios({
        method:'post',
        baseURL:baseURL,
        data:{
            a:20,
            b:600
        },
        headers:{
            token:'200'
        },
        url:'/shop/goods/list/v2'

    }).then(res=>{
        console.log(res)
    })
    axios({
        method:'get',
        baseURL:baseURL,
        params:{
            a:200,
            c:300
        },
        headers:{
            token:'200'
        },
        url:'/shop/goods/category/all'
    }).then(res=>{
        console.log(res)
    })
</script>
</html>